package com.gb.demand.common.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author shenzhiwen
 * @since 2020-03-14
 */
@Data
public class OrderBOS {

    @ApiModelProperty(value = "订单编号")
    private Long id;

    @ApiModelProperty(value = "订单编号")
    private String orderId;

    @ApiModelProperty(value = "日期")
    @DateTimeFormat(pattern="yyyy-MM-dd hh:MM:ss")
    @JsonFormat(pattern="yyyy-MM-dd hh:MM:ss")
    private LocalDateTime addTime;

    @ApiModelProperty(value = "金额")
    private BigDecimal totalPrice;

    @ApiModelProperty(value = "订单明细")
    private String orderDetail;

    @ApiModelProperty(value = "收货地址")
    private String address;

    @ApiModelProperty(value = "收货人")
    private String consignee;

    @ApiModelProperty(value = "收货人的联系方式")
    private String contactInformation;

    @ApiModelProperty(value = "下单部门")
    private String department;

}
